package com.ynding.spring.idea.ddd.core.model.wechat.factory;

import com.ynding.spring.idea.ddd.core.model.wechat.domain.WechatAccount;
import com.ynding.spring.idea.ddd.core.model.wechat.entity.Wallet;

/**
 * <p> </p>
 *
 * @author ynding
 * @version 2022/4/26
 **/
public class WalletFactory {

    /**
     * 获取账号钱包
     * @param wechatAccount 微信账号
     * @return
     */
    public static Wallet obtain(WechatAccount wechatAccount){
        // TODO
        return wechatAccount.getWallet();
    }
}
